package ui;

import javax.swing.*;

/**
 * @author five-five
 * @createTime 2022/2/28 15:36
 */
public class Frame extends JFrame {
    static int size_y = 768;
    static int size_x = 512;
    public Frame() throws Exception{
        setTitle("设计模式-飞机大战");
        setSize(size_x,size_y);
        setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
        setLocationRelativeTo(null);
        setResizable(false);
    }
}
